﻿package Message.Public
{
    import Engine.RMI.*;
    import Framework.Serialize.*;

    public class EAdvanceType extends Object
    {
        public var __value:int;
        public static const _EAdvanceTypePlayer:int = 0;
        public static const _EAdvanceTypePet:int = 1;
        public static const _EAdvanceStrengthTone:int = 2;
        public static const _EAdvanceRefreshTone:int = 3;
        public static const _EAdvanceRefreshLock:int = 4;
        public static const _EAdvanceTypeJewelMarrow:int = 6;
        public static const _EAdvanceTypePetGrowth:int = 12;
        public static const _EAdvanceTypePetBlood:int = 13;
        public static const _EAdvanceTypeMountUp:int = 14;
        public static const _EAdvanceTypeMountTool:int = 15;
        public static const _EAdvanceTypeRune:int = 16;
        public static const _EAdvanceTypePetTalent:int = 17;
        public static const _EAdvanceTypePetSharp:int = 18;
        public static const _EAdvanceTypeQuality:int = 19;
        public static const _EAdvanceTypeSprite:int = 21;
        public static const _EAdvanceTypeEscort:int = 22;
        public static const _EAdvanceTypeHalidom:int = 23;
        public static const _EAdvanceMountAdvanced:int = 24;
        public static const _EAdvanceTypeColorAttrMain:int = 25;
        public static const _EAdvanceTypeColorDefenMain:int = 26;
        public static const _EAdvanceTypeColorAtt:int = 27;
        public static const _EAdvanceTypePetSkillRefresh:int = 28;
        public static const _EAdvanceTypeFashionWingUp:int = 29;
        public static const _EAdvanceTypeFashionClothesUp:int = 30;
        public static const _EAdvanceTypeFashionWingTalent:int = 32;
        public static const _EAdvanceTypeFashionClothesTalent:int = 33;
        public static const _EAdvanceTypeFashionWeaponTalent:int = 34;
        public static const _EAdvanceTypeMountTalent:int = 35;
        public static const _EAdvanceTypeFashionWingGrowth:int = 36;
        public static const _EAdvanceTypeFashionClothesGrowth:int = 37;
        public static const _EAdvanceTypeFashionWeaponGrowth:int = 38;
        public static const _EAdvanceTypeMountGrowth:int = 39;
        public static const _EAdvanceTypeFashionWeaponUp:int = 40;
        public static const _EAdvanceTypeFashionFightSoulUp:int = 41;
        public static const _EAdvanceTypeFashionFightSoulTalent:int = 42;
        public static const _EAdvanceTypeFashionFightSoulGrowth:int = 43;
        public static const _EAdvanceTypeFashionFightMethodUp:int = 44;
        public static const _EAdvanceTypeFashionFightMethodTalent:int = 45;
        public static const _EAdvanceTypeFashionFightMethodGrowth:int = 46;
        public static const _EAdvanceTypeFashionDragonSoulUp:int = 47;
        public static const _EAdvanceTypeFashionDragonSoulTalent:int = 48;
        public static const _EAdvanceTypeFashionDragonSoulGrowth:int = 49;
        public static const _EAdvanceTypePetDirect:int = 50;
        public static const _EAdvanceTypePet2Talent:int = 51;
        public static const _EAdvanceTypePet2Growth:int = 52;
        public static const _EAdvanceTypeCollect:int = 53;
        public static const _EAdvanceTypeAllRoundUp:int = 54;
        public static const _EAdvanceTypeFashionHolyBookUp:int = 55;
        public static const _EAdvanceTypeFashionWarShieldUp:int = 56;
        public static const _EAdvanceTypeFashionMonsterSoulUp:int = 57;
        public static const _EAdvanceTypeFashionHolyBookGrowth:int = 58;
        public static const _EAdvanceTypeFashionWarShieldGrowth:int = 59;
        public static const _EAdvanceTypeFashionMonsterSoulGrowth:int = 60;
        public static const _EAdvanceTypeFashionHolyBookTalent:int = 61;
        public static const _EAdvanceTypeFashionWarShieldTalent:int = 62;
        public static const _EAdvanceTypeFashionMonsterSoulTalent:int = 63;
        public static const _EAdvanceType1111Card:int = 64;

        public function EAdvanceType(param1:int)
        {
            this.__value = param1;
            return;
        }// end function

        public function value() : int
        {
            return this.__value;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeByte(this.__value);
            return;
        }// end function

        public static function convert(param1:int) : EAdvanceType
        {
            return new EAdvanceType(param1);
        }// end function

        public static function __read(param1:SerializeStream) : EAdvanceType
        {
            var _loc_2:* = param1.readByte();
            if (_loc_2 < 0 || _loc_2 >= 65)
            {
                throw new MarshalException();
            }
            return EAdvanceType.convert(_loc_2);
        }// end function

    }
}
